package com.taojiazheng.mapper;

import com.taojiazheng.entity.Mycreate;
import com.taojiazheng.vo.myCreate.MyCreateVo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MycreateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Mycreate record);

    int insertSelective(Mycreate record);

    Mycreate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Mycreate record);

    int updateByPrimaryKey(Mycreate record);

    List<MyCreateVo> getMyCreates(Integer userId);

    int deletMyCreate(Integer jobId);
}